package com.example.food_contract_system.service;

import com.example.food_contract_system.domain.Contracts;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.food_contract_system.util.R;
import com.example.food_contract_system.vo.AddContractVo;
import com.example.food_contract_system.vo.ContractUpdateAndDeleteVo;

/**
* @author Lhy
* @description 针对表【contracts】的数据库操作Service
* @createDate 2023-07-06 09:22:08
*/
public interface ContractsService extends IService<Contracts> {

    R addContract(AddContractVo addContractVo);

    R getContractList();

    R updateContract(ContractUpdateAndDeleteVo contractUpdateAndDeleteVo);

    R deleteContract(ContractUpdateAndDeleteVo contractUpdateAndDeleteVo);

    R getMainContract();
}
